package com.djinfo.work.service;

import com.djinfo.work.common.bean.AjaxJson;
import com.djinfo.work.entity.QsContentEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @date 2017-06-08 10:48:16
 */
public interface QsContentService {

	void save(QsContentEntity object);
	void update(QsContentEntity object);
	public List<QsContentEntity> page(QsContentEntity object, Integer pageNum, Integer pageSize);
	public List<QsContentEntity> list(QsContentEntity object);
	public Integer getAllRowCount(QsContentEntity object);
	//public void delete(String id);
	public QsContentEntity selectOne(String id);
	public QsContentEntity getById(String id);


	public AjaxJson list(QsContentEntity qsContentEntity, Integer pagenum, Integer pagesize);
	public AjaxJson saveOrUpdate(QsContentEntity qsContentEntity,HttpServletRequest request);
	public AjaxJson delete(String id);

	public List<QsContentEntity>  getByTitleId(String id);

}
